package com.cowin.inf.service;

import com.cowin.inf.model.KyVehicleQueue;
import com.cowin.base.Service;
import com.cowin.inf.model.vo.KyVehicleQueueVo;
import com.cowin.inf.model.vo.QueueVo;


/**
 * Created by  on 2019/10/17.
 *
 * @author CodeGenerator
 */
public interface KyVehicleQueueService extends Service<KyVehicleQueue> {
    /**
     * 功能描述: 涂装总装队列<br>
     *
     * @param queueVo
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/11/21 9:35
     */
    QueueVo bdcQueue(QueueVo queueVo);

    /**
     * 功能描述: 巷道损坏 不能出车 对列检查<br>
     *
     * @param queueVo
     * @return: 删除条数
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/11/27 17:33
     */
    Integer bdcQueueBad(QueueVo queueVo);

    /**
     * 功能描述: 获取队列第一个<br>
     *
     * @param queueType
     * @return: KyVehicleQueue
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/11/28 16:20
     */
    KyVehicleQueue findQueueFirst(String queueType, String waitPoint);

    /**
     * 功能描述: 车辆 是否在锁定队列<br>
     *
     * @param queueType vin
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/11/28 16:36
     */
    KyVehicleQueueVo findIsInQueue(String queueType, String vin);

    /**
     * 功能描述: 过点成功 从队列中删除<br>
     *
     * @param
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/11/28 17:17
     */
    void remove(String queueType, String vin);

    /**
     * 功能描述: 修改队列等待点<br>
     *
     * @param
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2020/3/13 11:54
     */
    void updateWaitPoint(String queueType, String vin, String waitPoint);
}
